package com.example.crowdfunding.entity;

@Deprecated
public class Role {

    private Integer id;
    private String roleName;

    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {

        this.id = id;
    }

    public String getRoleName() {

        return roleName;
    }

    public void setRoleName(String roleName) {

        this.roleName = roleName == null ? null : roleName.trim();
    }

    @Override
    public String toString() {

        return "Role{" +
                "id=" + id +
                ", roleName='" + roleName + '\'' +
                '}';
    }

    public Role() {

    }

    public Role(Integer id, String roleName) {

        this.id = id;
        this.roleName = roleName;
    }

}